home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 22 / PC Actual CD 22.iso / SHARE / prog / POVRAY / E-P-O.ZIP / TEST-5.POV < prev    next >
Encoding:
Text File  |  1996-10-31  |  1.9 KB  |  63 lines

  1.  
  2. //------------------------------------------------------------------->
  3. //
  4. // test-5.pov
  5. //
  6. // "Easy POV Oven"
  7. //
  8. // Written By: Paul T. Dawson
  9. //             ptdawson@voicenet.com
  10. //             http://www.voicenet.com/~ptdawson
  11. //
  12. // All code and techniques are PUBLIC DOMAIN - have fun with it!
  13. //
  14. //------------------------------------------------------------------->
  15. //
  16. // This file is for testing the "Wall_Tile" object only.
  17. //
  18. //------------------------------------------------------------------->
  19. //
  20. // All of the usual initializing.
  21.  
  22.         #include "colors.inc"
  23.         #include "textures.inc"
  24.         #include "metals.inc"
  25.         #include "skies.inc"
  26.         #include "woods.inc"
  27.         #default { finish { Shiny } }
  28.         background { White }
  29.  
  30.         #declare Camera_Loc = < 0.0*12, 0.0*12, -2.5*12 >
  31.  
  32.         camera { location Camera_Loc look_at < 0, 0, 0 > }
  33.  
  34.         light_source { Camera_Loc + <0,0,0> color rgb < 2, 2, 2 > }
  35.  
  36. //------------------------------------------------------------------->
  37. //
  38. // Include the file and show the object.
  39.  
  40.         #include "wall.inc"
  41.  
  42.         // Center.
  43.         object { Wall_Tile translate < -0.5*12, -0.5*12, 0 > }
  44.  
  45.         // Top row.
  46.         object { Wall_Tile translate < -1.5*12,  0.5*12, 0 > }
  47.         object { Wall_Tile translate < -0.5*12,  0.5*12, 0 > }
  48.         object { Wall_Tile translate <  0.5*12,  0.5*12, 0 > }
  49.  
  50.         // Middle row (without center).
  51.         object { Wall_Tile translate < -1.5*12, -0.5*12, 0 > }
  52.         object { Wall_Tile translate <  0.5*12, -0.5*12, 0 > }
  53.  
  54.         // Bottom row.
  55.         object { Wall_Tile translate < -1.5*12, -1.5*12, 0 > }
  56.         object { Wall_Tile translate < -0.5*12, -1.5*12, 0 > }
  57.         object { Wall_Tile translate <  0.5*12, -1.5*12, 0 > }
  58.  
  59. //------------------------------------------------------------------->
  60. //
  61. // End of this file.
  62.  
  63.